package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CustomerAddAppDTO;
import com.softtown.modules.dapai.dto.CustomerAddResourceDTO;
import com.softtown.modules.dapai.dto.CustomerAppDTO;
import com.softtown.modules.dapai.dto.CustomerResourceDTO;
import com.softtown.modules.dapai.entity.CompCustomerAppEntity;
import com.softtown.modules.dapai.entity.CompCustomerResourceEntity;

import java.util.List;


/**
 * @Author: Ding Ya Yong
 * @Description: app客户资源池新增
 * @Date: 2021/12/24 21:18
 * @Param:
 * @return:
 **/
public interface CompCustomerResourceService extends BaseService<CompCustomerResourceEntity> {


   void addResourceApp(CustomerAddResourceDTO customerAddResourceDTO);

   void updateResourceApp(CustomerAddResourceDTO customerAddResourceDTO);

   void deleteResourceApp(Long compId, Long id);


   PageInfo<CompCustomerResourceEntity> getResourcePageListApp( CustomerResourceDTO customerResourceDTO);

   CompCustomerResourceEntity getResourceByIdApp(Long compId, Long id);

   List<CompCustomerResourceEntity> getResourceListApp(CustomerResourceDTO customerResourceDTO);
}
